﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace NDF.Framework.Web.Filters
{
    public class GlobalHandleErrorAttribute : HandleErrorAttribute
    {
        public override void OnException(ExceptionContext filterContext)
        {
            this.View = "~/Views/Shared/Error.cshtml";
            base.OnException(filterContext);
        }
    }
}
